﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using VCC.Model;
using VCC.Lib.Paging;
using VCC.CMS.Properties;

namespace VCC.CMS.ViewModels
{
    #region Site: Home
    public class HomeSiteIndexViewModel
    {
        public Category Category { get; set; }
        //public Demand Demand { set; get; }

        //public City City { set; get; }
        //public AdAttribute AdAttribute { get; set; }
        //public AdAttributeValue AdAttributeValue { get; set; }
        //public int CusTypeId { get; set; }
        public int TotalVisited { get; set;}
        public int TotalNewAdInDay { get; set; }
    }

    //public class CounterViewModels
    //{
    //    public long TotalVisited { get; set; }
    //    public long? Yesterday { get; set; }
    //    public int OnlineUser { get; set; }
    //}

    #endregion
    public class HomeViewModels
    {
        public long? VisitToday { get; set; }
        public long? VisitYesterday { get; set; }
        public long TotalVisited { get; set; }
        public int ContactUsNumberToday { get; set; }
        public int ContactUsNumberYesterday { get; set; }
        public int TotalContactUsNumber { get; set; }
    }
    public class HomeIndexModel
    {
        IPagedList<Article> Articles { get; set; }
    }

}
